package com.ahy231.dto;

import io.swagger.annotations.*;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ahy231
 * @date 2021/8/5 13:17
 * @description
 */
@Data
@ApiModel("广告")
public class Advertisement implements Serializable {

    private static final long serialVersionUID = -3205075868909368739L;
    @ApiModelProperty(value = "交易名称", required = true)
    private String name;

    @ApiModelProperty(value = "交易内容（0/未发布、1/待接单、2/取消、3/接受、4/执行、5/验收、6/结束）")
    private String content;

    @ApiModelProperty("价格")
    private String price;

    @ApiModelProperty(value = "角色", allowableValues = "driver,company,worksite", required = true)
    private String role;
}
